package com.lebang.example;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class CencesAdRecordLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public CencesAdRecordLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(LocalDateTime value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(LocalDateTime value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(LocalDateTime value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<LocalDateTime> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("`time` is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("`time` is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(Integer value) {
            addCriterion("`time` =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(Integer value) {
            addCriterion("`time` <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(Integer value) {
            addCriterion("`time` >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("`time` >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(Integer value) {
            addCriterion("`time` <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(Integer value) {
            addCriterion("`time` <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<Integer> values) {
            addCriterion("`time` in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<Integer> values) {
            addCriterion("`time` not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(Integer value1, Integer value2) {
            addCriterion("`time` between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("`time` not between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andCountIsNull() {
            addCriterion("`count` is null");
            return (Criteria) this;
        }

        public Criteria andCountIsNotNull() {
            addCriterion("`count` is not null");
            return (Criteria) this;
        }

        public Criteria andCountEqualTo(Integer value) {
            addCriterion("`count` =", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotEqualTo(Integer value) {
            addCriterion("`count` <>", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThan(Integer value) {
            addCriterion("`count` >", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("`count` >=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThan(Integer value) {
            addCriterion("`count` <", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThanOrEqualTo(Integer value) {
            addCriterion("`count` <=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountIn(List<Integer> values) {
            addCriterion("`count` in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotIn(List<Integer> values) {
            addCriterion("`count` not in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountBetween(Integer value1, Integer value2) {
            addCriterion("`count` between", value1, value2, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotBetween(Integer value1, Integer value2) {
            addCriterion("`count` not between", value1, value2, "count");
            return (Criteria) this;
        }

        public Criteria andSuccessCountIsNull() {
            addCriterion("success_count is null");
            return (Criteria) this;
        }

        public Criteria andSuccessCountIsNotNull() {
            addCriterion("success_count is not null");
            return (Criteria) this;
        }

        public Criteria andSuccessCountEqualTo(Integer value) {
            addCriterion("success_count =", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountNotEqualTo(Integer value) {
            addCriterion("success_count <>", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountGreaterThan(Integer value) {
            addCriterion("success_count >", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("success_count >=", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountLessThan(Integer value) {
            addCriterion("success_count <", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountLessThanOrEqualTo(Integer value) {
            addCriterion("success_count <=", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountIn(List<Integer> values) {
            addCriterion("success_count in", values, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountNotIn(List<Integer> values) {
            addCriterion("success_count not in", values, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountBetween(Integer value1, Integer value2) {
            addCriterion("success_count between", value1, value2, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountNotBetween(Integer value1, Integer value2) {
            addCriterion("success_count not between", value1, value2, "successCount");
            return (Criteria) this;
        }

        public Criteria andFailCountIsNull() {
            addCriterion("fail_count is null");
            return (Criteria) this;
        }

        public Criteria andFailCountIsNotNull() {
            addCriterion("fail_count is not null");
            return (Criteria) this;
        }

        public Criteria andFailCountEqualTo(Integer value) {
            addCriterion("fail_count =", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountNotEqualTo(Integer value) {
            addCriterion("fail_count <>", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountGreaterThan(Integer value) {
            addCriterion("fail_count >", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("fail_count >=", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountLessThan(Integer value) {
            addCriterion("fail_count <", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountLessThanOrEqualTo(Integer value) {
            addCriterion("fail_count <=", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountIn(List<Integer> values) {
            addCriterion("fail_count in", values, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountNotIn(List<Integer> values) {
            addCriterion("fail_count not in", values, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountBetween(Integer value1, Integer value2) {
            addCriterion("fail_count between", value1, value2, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountNotBetween(Integer value1, Integer value2) {
            addCriterion("fail_count not between", value1, value2, "failCount");
            return (Criteria) this;
        }

        public Criteria andSuccessShowCountIsNull() {
            addCriterion("success_show_count is null");
            return (Criteria) this;
        }

        public Criteria andSuccessShowCountIsNotNull() {
            addCriterion("success_show_count is not null");
            return (Criteria) this;
        }

        public Criteria andSuccessShowCountEqualTo(Integer value) {
            addCriterion("success_show_count =", value, "successShowCount");
            return (Criteria) this;
        }

        public Criteria andSuccessShowCountNotEqualTo(Integer value) {
            addCriterion("success_show_count <>", value, "successShowCount");
            return (Criteria) this;
        }

        public Criteria andSuccessShowCountGreaterThan(Integer value) {
            addCriterion("success_show_count >", value, "successShowCount");
            return (Criteria) this;
        }

        public Criteria andSuccessShowCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("success_show_count >=", value, "successShowCount");
            return (Criteria) this;
        }

        public Criteria andSuccessShowCountLessThan(Integer value) {
            addCriterion("success_show_count <", value, "successShowCount");
            return (Criteria) this;
        }

        public Criteria andSuccessShowCountLessThanOrEqualTo(Integer value) {
            addCriterion("success_show_count <=", value, "successShowCount");
            return (Criteria) this;
        }

        public Criteria andSuccessShowCountIn(List<Integer> values) {
            addCriterion("success_show_count in", values, "successShowCount");
            return (Criteria) this;
        }

        public Criteria andSuccessShowCountNotIn(List<Integer> values) {
            addCriterion("success_show_count not in", values, "successShowCount");
            return (Criteria) this;
        }

        public Criteria andSuccessShowCountBetween(Integer value1, Integer value2) {
            addCriterion("success_show_count between", value1, value2, "successShowCount");
            return (Criteria) this;
        }

        public Criteria andSuccessShowCountNotBetween(Integer value1, Integer value2) {
            addCriterion("success_show_count not between", value1, value2, "successShowCount");
            return (Criteria) this;
        }

        public Criteria andFillingRateIsNull() {
            addCriterion("filling_rate is null");
            return (Criteria) this;
        }

        public Criteria andFillingRateIsNotNull() {
            addCriterion("filling_rate is not null");
            return (Criteria) this;
        }

        public Criteria andFillingRateEqualTo(Integer value) {
            addCriterion("filling_rate =", value, "fillingRate");
            return (Criteria) this;
        }

        public Criteria andFillingRateNotEqualTo(Integer value) {
            addCriterion("filling_rate <>", value, "fillingRate");
            return (Criteria) this;
        }

        public Criteria andFillingRateGreaterThan(Integer value) {
            addCriterion("filling_rate >", value, "fillingRate");
            return (Criteria) this;
        }

        public Criteria andFillingRateGreaterThanOrEqualTo(Integer value) {
            addCriterion("filling_rate >=", value, "fillingRate");
            return (Criteria) this;
        }

        public Criteria andFillingRateLessThan(Integer value) {
            addCriterion("filling_rate <", value, "fillingRate");
            return (Criteria) this;
        }

        public Criteria andFillingRateLessThanOrEqualTo(Integer value) {
            addCriterion("filling_rate <=", value, "fillingRate");
            return (Criteria) this;
        }

        public Criteria andFillingRateIn(List<Integer> values) {
            addCriterion("filling_rate in", values, "fillingRate");
            return (Criteria) this;
        }

        public Criteria andFillingRateNotIn(List<Integer> values) {
            addCriterion("filling_rate not in", values, "fillingRate");
            return (Criteria) this;
        }

        public Criteria andFillingRateBetween(Integer value1, Integer value2) {
            addCriterion("filling_rate between", value1, value2, "fillingRate");
            return (Criteria) this;
        }

        public Criteria andFillingRateNotBetween(Integer value1, Integer value2) {
            addCriterion("filling_rate not between", value1, value2, "fillingRate");
            return (Criteria) this;
        }

        public Criteria andShowRateIsNull() {
            addCriterion("show_rate is null");
            return (Criteria) this;
        }

        public Criteria andShowRateIsNotNull() {
            addCriterion("show_rate is not null");
            return (Criteria) this;
        }

        public Criteria andShowRateEqualTo(Integer value) {
            addCriterion("show_rate =", value, "showRate");
            return (Criteria) this;
        }

        public Criteria andShowRateNotEqualTo(Integer value) {
            addCriterion("show_rate <>", value, "showRate");
            return (Criteria) this;
        }

        public Criteria andShowRateGreaterThan(Integer value) {
            addCriterion("show_rate >", value, "showRate");
            return (Criteria) this;
        }

        public Criteria andShowRateGreaterThanOrEqualTo(Integer value) {
            addCriterion("show_rate >=", value, "showRate");
            return (Criteria) this;
        }

        public Criteria andShowRateLessThan(Integer value) {
            addCriterion("show_rate <", value, "showRate");
            return (Criteria) this;
        }

        public Criteria andShowRateLessThanOrEqualTo(Integer value) {
            addCriterion("show_rate <=", value, "showRate");
            return (Criteria) this;
        }

        public Criteria andShowRateIn(List<Integer> values) {
            addCriterion("show_rate in", values, "showRate");
            return (Criteria) this;
        }

        public Criteria andShowRateNotIn(List<Integer> values) {
            addCriterion("show_rate not in", values, "showRate");
            return (Criteria) this;
        }

        public Criteria andShowRateBetween(Integer value1, Integer value2) {
            addCriterion("show_rate between", value1, value2, "showRate");
            return (Criteria) this;
        }

        public Criteria andShowRateNotBetween(Integer value1, Integer value2) {
            addCriterion("show_rate not between", value1, value2, "showRate");
            return (Criteria) this;
        }

        public Criteria andFilterDownloadCountIsNull() {
            addCriterion("filter_download_count is null");
            return (Criteria) this;
        }

        public Criteria andFilterDownloadCountIsNotNull() {
            addCriterion("filter_download_count is not null");
            return (Criteria) this;
        }

        public Criteria andFilterDownloadCountEqualTo(Integer value) {
            addCriterion("filter_download_count =", value, "filterDownloadCount");
            return (Criteria) this;
        }

        public Criteria andFilterDownloadCountNotEqualTo(Integer value) {
            addCriterion("filter_download_count <>", value, "filterDownloadCount");
            return (Criteria) this;
        }

        public Criteria andFilterDownloadCountGreaterThan(Integer value) {
            addCriterion("filter_download_count >", value, "filterDownloadCount");
            return (Criteria) this;
        }

        public Criteria andFilterDownloadCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("filter_download_count >=", value, "filterDownloadCount");
            return (Criteria) this;
        }

        public Criteria andFilterDownloadCountLessThan(Integer value) {
            addCriterion("filter_download_count <", value, "filterDownloadCount");
            return (Criteria) this;
        }

        public Criteria andFilterDownloadCountLessThanOrEqualTo(Integer value) {
            addCriterion("filter_download_count <=", value, "filterDownloadCount");
            return (Criteria) this;
        }

        public Criteria andFilterDownloadCountIn(List<Integer> values) {
            addCriterion("filter_download_count in", values, "filterDownloadCount");
            return (Criteria) this;
        }

        public Criteria andFilterDownloadCountNotIn(List<Integer> values) {
            addCriterion("filter_download_count not in", values, "filterDownloadCount");
            return (Criteria) this;
        }

        public Criteria andFilterDownloadCountBetween(Integer value1, Integer value2) {
            addCriterion("filter_download_count between", value1, value2, "filterDownloadCount");
            return (Criteria) this;
        }

        public Criteria andFilterDownloadCountNotBetween(Integer value1, Integer value2) {
            addCriterion("filter_download_count not between", value1, value2, "filterDownloadCount");
            return (Criteria) this;
        }

        public Criteria andFilterBrowseCountIsNull() {
            addCriterion("filter_browse_count is null");
            return (Criteria) this;
        }

        public Criteria andFilterBrowseCountIsNotNull() {
            addCriterion("filter_browse_count is not null");
            return (Criteria) this;
        }

        public Criteria andFilterBrowseCountEqualTo(Integer value) {
            addCriterion("filter_browse_count =", value, "filterBrowseCount");
            return (Criteria) this;
        }

        public Criteria andFilterBrowseCountNotEqualTo(Integer value) {
            addCriterion("filter_browse_count <>", value, "filterBrowseCount");
            return (Criteria) this;
        }

        public Criteria andFilterBrowseCountGreaterThan(Integer value) {
            addCriterion("filter_browse_count >", value, "filterBrowseCount");
            return (Criteria) this;
        }

        public Criteria andFilterBrowseCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("filter_browse_count >=", value, "filterBrowseCount");
            return (Criteria) this;
        }

        public Criteria andFilterBrowseCountLessThan(Integer value) {
            addCriterion("filter_browse_count <", value, "filterBrowseCount");
            return (Criteria) this;
        }

        public Criteria andFilterBrowseCountLessThanOrEqualTo(Integer value) {
            addCriterion("filter_browse_count <=", value, "filterBrowseCount");
            return (Criteria) this;
        }

        public Criteria andFilterBrowseCountIn(List<Integer> values) {
            addCriterion("filter_browse_count in", values, "filterBrowseCount");
            return (Criteria) this;
        }

        public Criteria andFilterBrowseCountNotIn(List<Integer> values) {
            addCriterion("filter_browse_count not in", values, "filterBrowseCount");
            return (Criteria) this;
        }

        public Criteria andFilterBrowseCountBetween(Integer value1, Integer value2) {
            addCriterion("filter_browse_count between", value1, value2, "filterBrowseCount");
            return (Criteria) this;
        }

        public Criteria andFilterBrowseCountNotBetween(Integer value1, Integer value2) {
            addCriterion("filter_browse_count not between", value1, value2, "filterBrowseCount");
            return (Criteria) this;
        }

        public Criteria andFilterRateIsNull() {
            addCriterion("filter_rate is null");
            return (Criteria) this;
        }

        public Criteria andFilterRateIsNotNull() {
            addCriterion("filter_rate is not null");
            return (Criteria) this;
        }

        public Criteria andFilterRateEqualTo(Integer value) {
            addCriterion("filter_rate =", value, "filterRate");
            return (Criteria) this;
        }

        public Criteria andFilterRateNotEqualTo(Integer value) {
            addCriterion("filter_rate <>", value, "filterRate");
            return (Criteria) this;
        }

        public Criteria andFilterRateGreaterThan(Integer value) {
            addCriterion("filter_rate >", value, "filterRate");
            return (Criteria) this;
        }

        public Criteria andFilterRateGreaterThanOrEqualTo(Integer value) {
            addCriterion("filter_rate >=", value, "filterRate");
            return (Criteria) this;
        }

        public Criteria andFilterRateLessThan(Integer value) {
            addCriterion("filter_rate <", value, "filterRate");
            return (Criteria) this;
        }

        public Criteria andFilterRateLessThanOrEqualTo(Integer value) {
            addCriterion("filter_rate <=", value, "filterRate");
            return (Criteria) this;
        }

        public Criteria andFilterRateIn(List<Integer> values) {
            addCriterion("filter_rate in", values, "filterRate");
            return (Criteria) this;
        }

        public Criteria andFilterRateNotIn(List<Integer> values) {
            addCriterion("filter_rate not in", values, "filterRate");
            return (Criteria) this;
        }

        public Criteria andFilterRateBetween(Integer value1, Integer value2) {
            addCriterion("filter_rate between", value1, value2, "filterRate");
            return (Criteria) this;
        }

        public Criteria andFilterRateNotBetween(Integer value1, Integer value2) {
            addCriterion("filter_rate not between", value1, value2, "filterRate");
            return (Criteria) this;
        }

        public Criteria andSdkKeyIsNull() {
            addCriterion("sdk_key is null");
            return (Criteria) this;
        }

        public Criteria andSdkKeyIsNotNull() {
            addCriterion("sdk_key is not null");
            return (Criteria) this;
        }

        public Criteria andSdkKeyEqualTo(String value) {
            addCriterion("sdk_key =", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyNotEqualTo(String value) {
            addCriterion("sdk_key <>", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyGreaterThan(String value) {
            addCriterion("sdk_key >", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyGreaterThanOrEqualTo(String value) {
            addCriterion("sdk_key >=", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyLessThan(String value) {
            addCriterion("sdk_key <", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyLessThanOrEqualTo(String value) {
            addCriterion("sdk_key <=", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyLike(String value) {
            addCriterion("sdk_key like", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyNotLike(String value) {
            addCriterion("sdk_key not like", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyIn(List<String> values) {
            addCriterion("sdk_key in", values, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyNotIn(List<String> values) {
            addCriterion("sdk_key not in", values, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyBetween(String value1, String value2) {
            addCriterion("sdk_key between", value1, value2, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyNotBetween(String value1, String value2) {
            addCriterion("sdk_key not between", value1, value2, "sdkKey");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}